.page{
    height: 100vh;
    position: relative;
    padding-bottom: $tab-bar-height;
}


.tasks{
    padding: 0 $base-space;
    padding-top: 40rpx;

    .item{
        border: 1px solid #E7E7E7;
        padding: $base-space;
        border-radius: 16rpx;
        margin-top: 20rpx;
        &:first-of-type{
            margin-top: 0;
        }

        .name{
            font-size: 28rpx;
            color: #000;
            font-weight: bold;
        }

        .subName{
            font-size: 28rpx;
            font-weight: 400;
            line-height: 40rpx;
            text-align: justify;
            margin-top: 20rpx;
        }

        .detail{
            margin-top: 20rpx;
            border-top: 1px solid #E7E7E7;
            padding-top: 20rpx;

            .title{
                font-size: 24rpx;
                color: #000;
                font-weight: bold;
            }
            
            .row{
                margin-top: 20rpx;
                display: flex;
                align-items: center;
                .label{
                    font-size: 28rpx;
                    color: #00000066;
                    margin-right: 20rpx;
                }
            }
        }
    }
}


.tabs{
    background-color: #fff;
    position: sticky;
    z-index: 10;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    border-bottom: 1rpx solid $background-color;
    .tab{
        flex: 1;
        display: flex;
        justify-content: center;

        .title{
            line-height: 90rpx;
            color: #878B93;
            font-size: 32rpx;
            position: relative;

            &.selected{
                color: #000;
                &::after{
                    content: '';
                    position: absolute;
                    width: 100%;
                    height: 6rpx;
                    left: 0;
                    bottom: 0;
                    background-color: $primary-color;
                }
            }
        }

        
    }
}